package com.example.project_demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 韦红材
 * @ClassName Emp
 * @data 2024/12/23 09:31
 * @Version V1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp implements Serializable {
    private int empno;
    private String ename;
    private String job;
    private int mgr;
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime hiredate;
    private String hiredate;
    private Double sal;
    private Double comm;
    private int deptno;
}
